package com.module.wx.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 zzd_shopping_cart
 * 
 * @author hezhengxian
 * @date 2023-02-14
 */
public class ZzdShoppingCart extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String nickName;

    /** 商家id */
    @Excel(name = "商家id")
    private String storeId;

    /** 商家名称 */
    @Excel(name = "商家名称")
    private String storeName;

    /** 商品总价格 */
    @Excel(name = "商品总价格")
    private BigDecimal orderPric;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date crteTime;

    /** 备注 */
    @Excel(name = "备注")
    private String remaks;

    /** 商家头像路径 */
    @Excel(name = "商家头像路径")
    private String storePath;

    /** 是否购买 */
    @Excel(name = "是否购买")
    private String isShopping;

    /** 购物车商品详情 */
    private List<ZzdShoppingCartInfo> cartInfoList;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setStoreId(String storeId) 
    {
        this.storeId = storeId;
    }

    public String getStoreId() 
    {
        return storeId;
    }
    public void setStoreName(String storeName) 
    {
        this.storeName = storeName;
    }

    public String getStoreName() 
    {
        return storeName;
    }
    public void setOrderPric(BigDecimal orderPric) 
    {
        this.orderPric = orderPric;
    }

    public BigDecimal getOrderPric() 
    {
        return orderPric;
    }
    public void setCrteTime(Date crteTime) 
    {
        this.crteTime = crteTime;
    }

    public Date getCrteTime() 
    {
        return crteTime;
    }
    public void setRemaks(String remaks) 
    {
        this.remaks = remaks;
    }

    public String getRemaks() 
    {
        return remaks;
    }
    public void setStorePath(String storePath) 
    {
        this.storePath = storePath;
    }

    public String getStorePath() 
    {
        return storePath;
    }
    public void setIsShopping(String isShopping) 
    {
        this.isShopping = isShopping;
    }

    public String getIsShopping() 
    {
        return isShopping;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("nickName", getNickName())
            .append("storeId", getStoreId())
            .append("storeName", getStoreName())
            .append("orderPric", getOrderPric())
            .append("crteTime", getCrteTime())
            .append("remaks", getRemaks())
            .append("storePath", getStorePath())
            .append("isShopping", getIsShopping())
            .toString();
    }

    public List<ZzdShoppingCartInfo> getCartInfoList() {
        return cartInfoList;
    }

    public void setCartInfoList(List<ZzdShoppingCartInfo> cartInfoList) {
        this.cartInfoList = cartInfoList;
    }
}
